package neu.soft.service;

import neu.soft.entity.OperationWarehouse;
import neu.soft.query.BasePageQuery;
import neu.soft.vo.PageBean;

import java.util.List;

/**
 * 库房管理服务
 */
public interface WarehouseService {

    int addWarehouse(OperationWarehouse operationWarehouse);

    int updateWarehouse(OperationWarehouse operationWarehouse);

    int deleteWarehouse(Integer warehouseId);

    List<OperationWarehouse> findAll();

    OperationWarehouse findById(Integer warehouseId);

    PageBean<OperationWarehouse> findByPage(BasePageQuery query);


}
